//
//  SEGSharedNeihborhoodModel.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/10/18.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGSharedNeihborhoodInfoModel.h"
#import "SEGSharedCommentChildCommentModel.h"
#import "SEGcustomContentViewModel.h"

@interface SEGSharedNeihborhoodModel : NSObject
@property (nonatomic, strong) NSArray <SEGSharedCommentChildCommentModel *> *comment;
@property (nonatomic, strong) SEGSharedNeihborhoodInfoModel *model;
@property (nonatomic, strong) SEGSharedCommonUserModel *user;

// 控件内容布局计算
@property (nonatomic, strong) SEGcustomContentViewLayout *layout;

/// 是否是每日精选
@property (nonatomic, assign) BOOL isRecommend;

/// 是否是广告
@property (nonatomic, assign) BOOL isAdvertisement;
/// 广告下标
@property (nonatomic, assign) NSInteger adverIndex;

/**
 tips 刷新提示
 */
//@property (nonatomic, copy) NSString *tips;
/**
 是否有更多评论 1：有 2：没有
 */
@property (nonatomic, copy) NSString *more;
//是否点击全部评论
@property (nonatomic, assign) BOOL isSelectMore;

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
//保存布局
- (void)saveLayout;
@end
